import { unauthorizeRequest } from '../util/http'


export interface CreateUserParams {
    username: string;
    nickname: string;
    password: string;
}
export const apiPostUser = async (params: CreateUserParams) => {
    await unauthorizeRequest.post('v1/users', params)
}